Skip to content

fix(inference): discover paired hosts and refresh routed models - #151

Merged
ScriptedAlchemy merged 2 commits into
mainfrom
codex/inference-routing-and-model-discovery
Nov 18, 2026
Merged

ScriptedAlchemy merged 2 commits into
mainfrom
codex/inference-routing-and-model-discovery

Conversation

@ScriptedAlchemy

Copy link
Copy Markdown
Owner

T3 could keep an old inference host catalog and classify newly advertised Codex models as custom. That left GPT-6.2 Sol and Astra out of the model picker. Enabling routing could also send users into a separate settings page to configure a host they had already paired.

The provider switch now discovers eligible local and paired hosts, reuses existing access, and offers account setup inline when no host is ready. Sharing and revocation remain under host control. Web, desktop, and mobile use the same host selection logic. Provider refresh updates the selected route and its models, including project-enabled providers and fallback hosts. Codex and Claude expose advertised chat models to the picker.

The dead-code review removed unused provider fields, a redundant route check, and an unnecessary host probe. It also turned up stale setup state when turning routing off or switching providers, now covered by browser regressions.

The account-name blur is in #150. This PR is stacked on that branch.

Verified with changed-file checks, focused server and browser tests, and web and mobile typechecks. An isolated browser scenario reproduced the missing setup action on main and passed with the fix. A second scenario verified that refreshing Codex exposes both GPT-6.2 models after the host advertises them.

Built with GPT-6 in Codex Desktop.

@changeset-bot

changeset-bot Bot commented Nov 18, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: f67cd6a

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@ScriptedAlchemy
ScriptedAlchemy changed the base branch from codex/blur-inference-account-names to main November 18, 2026 03:39
@ScriptedAlchemy
ScriptedAlchemy merged commit 99252fb into main Nov 18, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant